#pragma once

#include "BaseForm.h"
#include "Resource.h"
#include "simplelistctrl.h"
// CTradeMgrForm dialog

class CTradeMgrForm : public CBaseForm
{
	DECLARE_DYNAMIC(CTradeMgrForm)

public:

	static CBaseForm*  CreateShow(CWnd* pParent)
	{
		CTradeMgrForm* pwnd = new CTradeMgrForm(pParent);
		pwnd->Create(CTradeMgrForm::IDD,pParent);
		pwnd->ModifyStyle(0, WS_EX_CONTROLPARENT);
		pwnd->ShowWindow(SW_SHOW);
		return pwnd;			

	}


	CTradeMgrForm(CWnd* pParent = NULL);   // standard constructor
	virtual ~CTradeMgrForm();

// Dialog Data
	enum { IDD = IDD_DIALOG_MAIN };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
	CSimpleListCtrl m_listctrl;
	virtual BOOL OnInitDialog();

	virtual CString GetTitle() const;
	CPropertySheet m_sheets;

public:
	afx_msg void OnBnClickedButton1();

	virtual BOOL AllowClose();

};
